package cn.edu.ujs.coor.request.role;

import cn.edu.ujs.coor.model.Role;
import cn.edu.ujs.coor.request.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class RoleUpdateRequest extends BaseRequest<Role> {

    @NotBlank(message = "角色编号非空")
    private String id;

    private String name;

    private String dataLevel;

    private List<String> nodeIds;
}
